package cate.common.table.position;

import cate.common.table.ESheet;
import easy.java.dev.note.NoteClass;

@NoteClass("阵法总加成")
public class PositionLevelGainSheet extends ESheet<PositionLevelGainRow> {

    @Override
    public String getSheetName() {
        return "阵法总加成";
    }


    public String findAttrStr(int totalLevel) {
        String attrStr = null;
        for (PositionLevelGainRow row : this.getList()) {
            if (row.totalLevel > totalLevel) {
                return attrStr;
            } else {
                attrStr = row.attrStr;
            }
        }
        return attrStr;
    }
}